@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>配置项管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                            <#select id="appId" name="应用">
							</#select>
                            </div>
                            <div class="col-sm-3">
                                <#select id="envId" name="环境">
							</#select>
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="key" name="配置key" />
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="DcConfig.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="DcConfigTableToolbar" role="group">
                            @if(shiro.hasPermission("/dcConfig/add")){
                                <#button name="添加" icon="fa-plus" clickFun="DcConfig.openAddDcConfig()"/>
                            @}
                            @if(shiro.hasPermission("/dcConfig/update")){
                                <#button name="修改" icon="fa-edit" clickFun="DcConfig.openDcConfigDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/dcConfig/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="DcConfig.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/dcConfig/upload")){
                                <#button name="上传" icon="fa-upload" clickFun="DcConfig.upload()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/dcConfig/download")){
                                <#button name="下载" icon="fa-download" clickFun="DcConfig.download()" space="true"/>
                            @}
                        	@if(shiro.hasPermission("/dcConfig/recovery")){
                                <#button name="恢复" icon="fa-backward" clickFun="DcConfig.recovery()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/dcConfig/dcConfig_parent")){
                            <#button name="父项目" icon="fa-link" clickFun="DcConfig.openDcConfigParent()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/dcConfig/dcConfig_preview")){
                                <#button name="预览" icon="fa-file-code-o" clickFun="DcConfig.openDcConfigPreview()" space="true"/>
                              @}
                             @if(shiro.hasPermission("/dcConfig/pub")){
                                <#button name="发布" icon="fa-exchange" clickFun="DcConfig.pub()" space="true"/>
                            @}
                        </div>
                        <#table id="DcConfigTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/dc/dcConfig/dcConfig.js"></script>
@}
